<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <main>
     <span>houdunren</span>
     <span>1234</span>
     <span>78965</span>
  </main>
</body>
<script>
  const main = document.querySelector("main")
  let reg=/<span>([\s\S]+?)<\/span>/ig
  main.innerHTML=main.innerHTML.replace(reg,(v0,v1)=>{
    return `<h4 style="color:red">后盾人-${v1}</h4>`
  })
</script>
</html>